package com.qf.controller;

import com.qf.service.UserAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sunyamei
 * @version V1.0
 * @Project javase2203
 * @Package com.qf.controller
 * @Description:
 * @Date 2022/8/17 17:20
 */
@RestController
@RequestMapping("/usera")
public class UserAController {

    @Autowired
    private UserAService userAService;

    @RequestMapping("/decr")
    public  Integer decrA(){
        Integer count = userAService.decrA();
        return  count;

    }
}
